import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import login from '@/user/login'
import fu from '@/Demo/fu'
import book from '@/Books/book'
Vue.use(Router)

export default new Router({
  mode:"history",
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/login',
      name: 'login',
      component: login
    },
    {
      path: '/fu',
      name: 'fu',
      component: fu
    },
    {
      path: '/book',
      name: 'book',
      component: book
    },
  ]
})
